#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
typedef int my_type;
typedef struct my_arr
{
	my_type size;
	my_type arr[0];
}arr;
int main()
{
	int n = 10;
	arr* tem = (arr*)malloc(sizeof(my_type) * n + sizeof(arr));
	tem->size = 10;
	int i = 0;
	for (i = 0; i < tem->size; i++)
	{
		tem->arr[i] = i;
	}
	free(tem);
	tem = NULL;
	return 0;
}